package com.wfy.api;

import com.wfy.pojo.Brand;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Title: BrandApi
 * @Package com.wfy.api
 * @Author 王飞遥
 * @Date 2022/9/16 15:12
 */
@RequestMapping("/brand")
public interface BrandApi {
    /**
     * 根据brandId查询品牌信息
     * @param brandId
     * @return
     */
    @GetMapping("/getBrandInfo/{brandId}")
     Brand getBrandInfo(@PathVariable("brandId")Long brandId);
}
